﻿using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ccteg.Common
{
	/// <summary>
	///
	/// </summary>
	public class srb_main_project
	{
		/// <summary>
		///唯一编码--
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///甲方单位名称(甲方全程)--
		/// </summary>
		public string A_Name { get; set; }

		/// <summary>
		///单位负责人--
		/// </summary>
		public string InCharge { get; set; }

		/// <summary>
		///单位负责人联系电话--
		/// </summary>
		public string InChargeTel { get; set; }

		/// <summary>
		///项目负责人--
		/// </summary>
		public string PLeader { get; set; }

		/// <summary>
		///项目负责人联系电话--
		/// </summary>
		public string PLeaderTel { get; set; }

		/// <summary>
		///项目在册人数--
		/// </summary>
		public int? RegisterNum { get; set; }

		/// <summary>
		///项目合同额--
		/// </summary>
		public float? Amount { get; set; }

		/// <summary>
		///合同开工日期--
		/// </summary>
		public DateTime? ExpectStart { get; set; }

		/// <summary>
		///预计竣工日期--
		/// </summary>
		public DateTime? ExpectEnd { get; set; }

		/// <summary>
		///实际开工日期--
		/// </summary>
		public DateTime? ActualStart { get; set; }

		/// <summary>
		///实际竣工日期--
		/// </summary>
		public DateTime? ActualEnd { get; set; }

		/// <summary>
		///是否竣工--
		/// </summary>
		public bool? IsEnd { get; set; }

		/// <summary>
		///工程项目所需资质--
		/// </summary>
		public string Resource { get; set; }

		/// <summary>
		///安全生产管理体系--
		/// </summary>
		public string SafetySystem { get; set; }

		/// <summary>
		///业务编码/各二级单位上传保证唯一，但二级单位之间有可能重复，通过和二级单位编码联合可保证唯一)--
		/// </summary>
		public string SrbNo { get; set; }

		/// <summary>
		///安全风险业务全称（煤矿，工程，加工基地名称）--
		/// </summary>
		public string SrbName { get; set; }

		/// <summary>
		///安全风险业务简称（煤矿，工程，加工基地名称）--
		/// </summary>
		public string SrbShortName { get; set; }

		/// <summary>
		///二级单位名称--
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///二级单位编码--
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///行业（煤炭，危化，机械，建筑，通用）--
		/// </summary>
		public string Trade { get; set; }

		/// <summary>
		///业务类型（煤炭-生产煤矿；危化-...）--
		/// </summary>
		public string Category { get; set; }

		/// <summary>
		///安全风险业务地址-区域--
		/// </summary>
		public string Area_R { get; set; }

		/// <summary>
		///安全风险业务地址-省份--
		/// </summary>
		public string Area_P { get; set; }

		/// <summary>
		///安全风险业务地址-城市--
		/// </summary>
		public string Area_C { get; set; }

		/// <summary>
		///安全风险业务详细地址--
		/// </summary>
		public string Area_Detail { get; set; }

		/// <summary>
		///填报人--
		/// </summary>
		public string WriteBy { get; set; }

		/// <summary>
		///填报人联系电话--
		/// </summary>
		public string WriteTel { get; set; }

		/// <summary>
		///填报日期--
		/// </summary>
		public DateTime? WriteOn { get; set; }

		/// <summary>
		///最后修改人--
		/// </summary>
		public string LastWriteBy { get; set; }

		/// <summary>
		///最后修改日期--
		/// </summary>
		public DateTime? LastWriteOn { get; set; }

		/// <summary>
		///安全风险业务坐标x（地图用）--
		/// </summary>
		public string CoordX { get; set; }

		/// <summary>
		///安全风险业务坐标y （地图用）--
		/// </summary>
		public string CoordY { get; set; }

		/// <summary>
		///安全风险业务概况（煤矿类型写入煤矿概括，工程项目填写工程主要内容，加工基地新增填写加工基地概况）--
		/// </summary>
		public string OverView { get; set; }

		/// <summary>
		///安全风险业务风貌（图片）预留--
		/// </summary>
		public string File { get; set; }

		/// <summary>
		///风险等级(预留)--
		/// </summary>
		public string RiskLevel { get; set; }

		/// <summary>
		///风险业务等级（需要调级)--
		/// </summary>
		public string RiskBusinessLevel { get; set; }

		/// <summary>
		///所属二级单位名称--
		/// </summary>
		public string BeCompanyName { get; set; }

		/// <summary>
		///所属二级单位编码--
		/// </summary>
		public string BeCompanyNo { get; set; }

		/// <summary>
		///备注--
		/// </summary>
		public string Remark { get; set; }

		/// <summary>
		///总附件
		/// </summary>
		public string AllFile { get; set; }

		/// <summary>
		///未下发,已下发
		/// </summary>
		public string SubState { get; set; }

		/// <summary>
		///下发时间
		/// </summary>
		public DateTime? SubDate { get; set; }

		/// <summary>
		///未审批，已审批
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///审核时间
		/// </summary>
		public DateTime? PassDate { get; set; }

		/// <summary>
		///未通过原因
		/// </summary>
		public string NoPassContent { get; set; }

		/// <summary>
		///安全风险业务风貌（煤矿风采--图片）--
		/// </summary>
		public string FileImg { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

	}
}